﻿using System;

namespace Library.OrmEnterpriseEntity.TableInfo {
	///<summary>
	///</summary>
	public class FixAnsiColumn : StringColumn {
		internal static readonly Type FixAnsiColumnType = typeof(FixAnsiColumn);
		///<summary>
		///</summary>
		///<param name="metadata"></param>
		///<param name="table"></param>
		public FixAnsiColumn(StringColumnView metadata, DbTable table)
			: base(metadata, table) {
		}

		///<summary>
		///</summary>
		///<param name="value"></param>
		///<returns></returns>
		public static implicit operator FixAnsiColumn(string value) {
			return new FixAnsiColumn(FixAnsiColumnView.Null, DbTable.Null) { Value = value };
		}
	}
}
